import 'package:json_annotation/json_annotation.dart';

part 'comic_xxhistory_model.g.dart';

@JsonSerializable()
class ComicXxHistoryModel {
  final double? amount;
  final int? rechargeType;
  final int? createTime;
  final int? rechargeNum;
  final int? type;
  final String? source;
  final String? orderNo;

  ComicXxHistoryModel({
    this.orderNo,
    this.amount,
    this.rechargeType,
    this.createTime,
    this.rechargeNum,
    this.type,
    this.source,
  });

  factory ComicXxHistoryModel.fromJson(Map<String, dynamic> json) =>
      _$ComicXxHistoryModelFromJson(json);

  Map<String, dynamic> toJson() => _$ComicXxHistoryModelToJson(this);
}
